$(document).ready(function () {
    $("#faq-data1").css({
        display: "block"
    });

    $("#faq-data2").css({
        display: "block"
    });

    $("#faq-data3").css({
        display: "block"
    });

    $("#faq-data4").css({
        display: "block"
    });

    $("#faq-data5").css({
        display: "block"
    });

    $("#faq-data6").css({
        display: "block"
    });

    $("#faq-data7").css({
        display: "block"
    });
    $("#faq-data8").css({
        display: "block"
    });
    $("#faq-data9").css({
        display: "block"
    });

    $("#faq-data1").css({
        "z-index": "-998"
    });

    /*
     $("#fashionwomen").css({
     display: "block"
     });
     
     $("#fashionmen").css({
     "z-index": "1000"
     });		
     */
    var $menu = $("#menu-dorpdown");
    $menu.menuAim({
        activate: activateSubmenu,
        exitMenu: exitentireMenu,
        deactivate: deactivateSubmenu
    });
    function activateSubmenu(row) {
        $("#faq-data1").css({
            display: "none"
        });

        $("#faq-data2").css({
            display: "none"
        });

        $("#faq-data3").css({
            display: "none"
        });

        $("#faq-data4").css({
            display: "none"
        });

        $("#faq-data5").css({
            display: "none"
        });

        $("#faq-data6").css({
            display: "none"
        });

        $("#faq-data7").css({
            display: "none"
        });

        $("#faq-data8").css({
            display: "none"
        });

        $("#faq-data9").css({
            display: "none"
        });

        $("#lk_faq_1").removeClass("hover");
        $('.ui-arrow-r').hide();

        var $row = $(row),
                submenuId = $row.data("submenuId"),
                $submenu = $("#" + submenuId),
                height = $menu.outerHeight(),
                width = $menu.outerWidth();
        // Show the submenu
        $submenu.css({
            display: "block"
        });
        // Keep the currently activated row's highlighted look
        $row.find("a.sub").addClass("hover");
        $row.find('.ui-arrow-r').show();
    }
    function deactivateSubmenu(row) {
        var $row = $(row),
                submenuId = $row.data("submenuId"),
                $submenu = $("#" + submenuId);
        // Hide the submenu and remove the row's highlighted look
        $submenu.css("display", "none");
        $row.find("a.sub").removeClass("hover");
        $('.ui-arrow-r').hide();
    }

    function exitentireMenu(row) {
        /*
         var $row = $(row),
         submenuId = $row.data("submenuId"),
         $submenu = $("#" + submenuId);
         // Hide the submenu and remove the row's highlighted look
         $submenu.css("display", "none");
         $row.find("a.sub").removeClass("hover");
         $('.ui-arrow-r').hide();
         return true;
         */
    }
});